#include<at89c51ed2.h>
#include <mcs51reg.h>

void delay()
{
	int i=0;
		while(i<1000){//delay
			i++;
		}
	i=0;
		while(i<10000){//delay
			i++;
		}
}

	
	
	
void togglePin() //untested
	{
		
		P1_1=0; //1-0 transition, count noted
		P3_4=0;//1-0 transition, count noted
	
		delay();
		
		P1_1=1; //0-1 transition,toggle completed
		P3_4=1;
		delay();
		
		}

		
	
	